package com.ossjk.oa.advisory.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.ossjk.core.base.entity.BaseEntity;

import cn.afterturn.easypoi.excel.annotation.Excel;

/**
 * <p>
 * 客户信息表
 * </p>
 *
 * @author chair
 * @since 2019-02-15
 */
public class Customer extends BaseEntity<Customer> {

	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId("id")
	private String id;
	/**
	 * 学校id
	 */
	@TableField("sid")
	private String sid;
	/**
	 * 专业id
	 */
	@Excel(name = "专业", orderNum = "2", width = 30)
	@TableField("did")
	private String did;
	/**
	 * 渠道id
	 */
	@TableField("cid")
	private String cid;
	/**
	 * 跟进人id
	 */
	@TableField("eid")
	private String eid;
	/**
	 * 名称
	 */
	@Excel(name = "学生名", orderNum = "3", width = 30)
	@TableField("name")
	private String name;
	/**
	 * 手机号码
	 */
	@Excel(name = "电话", orderNum = "4", width = 30)
	@TableField("phone")
	private BigDecimal phone;
	/**
	 * qq号
	 */
	@Excel(name = "qq", orderNum = "5", width = 30)
	@TableField("qq")
	private BigDecimal qq;
	/**
	 * 微信
	 */
	@Excel(name = "微信", orderNum = "6", width = 30)
	@TableField("wechat")
	private String wechat;
	/**
	 * 学历：1-大专、2-本科、3-硕士研究生、4-高中、5-中专、6-小学、7-初中、8-中技、9-博士研究生、10-高技
	 */
	@Excel(name = "学历", replace = { "大专_1", "本科_2", "硕士_3", "高中_4", "中专_5", "小学_6", "初中_7", "中技_8", "博士_9",
			"高技_10" }, orderNum = "7", width = 30)
	@TableField("ectn")
	private BigDecimal ectn;
	/**
	 * 届
	 */
	@Excel(name = "学届", orderNum = "6", width = 30)
	@TableField("period")
	private BigDecimal period;
	/**
	 * 上课方向：1-前端、2-java后台
	 */
	@Excel(name = "上课方向", replace = { "前端_1", "java后台_2" }, orderNum = "8", width = 30)
	@TableField("ottn")
	private BigDecimal ottn;
	/**
	 * 招生模式：1-社会招生、2-口碑转介绍招生、3-实训校招
	 */
	@Excel(name = "招生模式", replace = { "社会招生_1", "口碑转介绍招生_2", "实训校招_3" }, orderNum = "9", width = 30)
	@TableField("elmt")
	private BigDecimal elmt;
	/**
	 * 意向：1-有意向、2-没意向、3-考虑中
	 */
	@Excel(name = "意向", replace = { "有意向_1", "没意向_2", "考虑中_3" }, orderNum = "10", width = 30)
	@TableField("intt")
	private String intt;

	/**
	 * 录入人
	 */
	@TableField("entry")
	private String entry;
	/**
	 * 录入时间
	 */
	@Excel(name = "录入时间", format = "yyyy-MM-dd", orderNum = "15", width = 30)
	@TableField("ettm")
	@JSONField(format = "yyyy-MM-dd")
	private Date ettm;

	/**
	 * 预约面试时间
	 */
	@TableField("ivtm")
	@Excel(name = "预约面试时间", format = "yyyy-MM-dd", orderNum = "16", width = 30)
	@JSONField(format = "yyyy-MM-dd")
	private Date ivtm;
	/**
	 * 是否上门:1-是、2-否
	 */
	@TableField("isvisit")
	@Excel(name = "是否上门", replace = { "是_1", "否_2" }, orderNum = "17", width = 30)
	private BigDecimal isvisit;
	/**
	 * 简历类型：1-51 job、2-智联、3-自定义
	 */
	@Excel(name = "简历类型", replace = { "51job_1", "智联_2", "自定义_3" }, orderNum = "18", width = 30)
	@TableField("rstype")
	private BigDecimal rstype;
	/**
	 * 标签
	 */
	@TableField("labl")
	@Excel(name = "标签", orderNum = "19", width = 30)
	private String labl;
	/**
	 * 应聘职位
	 */
	@Excel(name = "应聘职位", orderNum = "20", width = 30)
	@TableField("ptap")
	private String ptap;
	/**
	 * 应聘时间
	 */
	@Excel(name = "应聘时间", format = "yyyy-MM-dd", orderNum = "21", width = 30)
	@TableField("aptm")
	private Date aptm;
	/**
	 * 性别：1-男、2-女
	 */
	@Excel(name = "性别", replace = { "男_1", "女_2" }, orderNum = "22", width = 30)
	@TableField("sex")
	private BigDecimal sex;
	/**
	 * 出生日期
	 */
	@Excel(name = "出生日期", format = "yyyy-MM", orderNum = "23", width = 30)
	@TableField("birth")
	@JSONField(format = "yyyy-MM")
	private Date birth;
	/**
	 * 目前居住地
	 */
	@Excel(name = "目前居住地", orderNum = "24", width = 30)
	@TableField("residence")
	private String residence;
	/**
	 * 户口
	 */
	@Excel(name = "户口", orderNum = "25", width = 30)
	@TableField("resident")
	private String resident;
	/**
	 * 工作年限
	 */
	@Excel(name = "工作年限", orderNum = "26", width = 30)
	@TableField("wkyear")
	private String wkyear;
	/**
	 * 电子邮件
	 */
	@Excel(name = "电子邮件", orderNum = "27", width = 30)
	@TableField("email")
	private String email;
	/**
	 * 通信地址
	 */
	@Excel(name = "通信地址", orderNum = "28", width = 30)
	@TableField("addr")
	private String addr;
	/**
	 * 最近一家公司
	 */
	@Excel(name = "最近一家公司", orderNum = "29", width = 30)
	@TableField("bfcompany")
	private String bfcompany;
	/**
	 * 最近一个职位
	 */
	@Excel(name = "最近一个职位", orderNum = "30", width = 30)
	@TableField("bfposition")
	private String bfposition;
	/**
	 * 期望薪资
	 */
	@Excel(name = "期望薪资", orderNum = "31", width = 30)
	@TableField("salary")
	private String salary;

	/**
	 * 邀约公司名字：1-数字桥信息网络科技有限公司、2-靖凯开源网络科技有限公司、3-合轩网络科技有限公司；
	 */
	@Excel(name = "邀约公司", replace = { "数字桥信息网络科技有限公司_1", "靖凯开源网络科技有限公司_2",
			"合轩网络科技有限公司_3" }, orderNum = "32", width = 30)
	@TableField("invite")
	private BigDecimal invite;
	/**
	 * 是否报名：1-是、2-否
	 */
	@Excel(name = "是否报名", replace = { "是_1", "否_2" }, orderNum = "33", width = 30)
	@TableField("iser")
	private BigDecimal iser;
	/**
	 * 付款方式：1-一次性、2-分期
	 */
	@Excel(name = "付款方式", replace = { "一次性_1", "分期_2" }, orderNum = "34", width = 30)
	@TableField("paym")
	private BigDecimal paym;
	/**
	 * 报名金额
	 */
	@Excel(name = "报名金额", orderNum = "35", width = 30)
	@TableField("erac")
	private BigDecimal erac;
	/**
	 * 补贴金额
	 */
	@Excel(name = "补贴金额", orderNum = "36", width = 30)
	@TableField("ssac")
	private BigDecimal ssac;
	/**
	 * 是否包住宿：1-是、2-否
	 */
	@Excel(name = "补贴金额", replace = { "是_1", "否_2" }, orderNum = "37", width = 30)
	@TableField("isstay")
	private BigDecimal isstay;

	/**
	 * 下次跟进时间
	 */
	@TableField("nftm")
	private Date nftm;

	/**
	 * 自我评价
	 */
	@TableField("self")
	private String self;
	/**
	 * 项目经验
	 */
	@TableField("experience")
	private String experience;
	/**
	 * 删除原因
	 */
	@TableField("reason")
	private String reason;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSid() {
		return sid;
	}

	public void setSid(String sid) {
		this.sid = sid;
	}

	public String getDid() {
		return did;
	}

	public void setDid(String did) {
		this.did = did;
	}

	public String getCid() {
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public BigDecimal getPhone() {
		return phone;
	}

	public void setPhone(BigDecimal phone) {
		this.phone = phone;
	}

	public BigDecimal getQq() {
		return qq;
	}

	public void setQq(BigDecimal qq) {
		this.qq = qq;
	}

	public BigDecimal getEctn() {
		return ectn;
	}

	public void setEctn(BigDecimal ectn) {
		this.ectn = ectn;
	}

	public BigDecimal getPeriod() {
		return period;
	}

	public void setPeriod(BigDecimal period) {
		this.period = period;
	}

	public BigDecimal getOttn() {
		return ottn;
	}

	public void setOttn(BigDecimal ottn) {
		this.ottn = ottn;
	}

	public BigDecimal getElmt() {
		return elmt;
	}

	public void setElmt(BigDecimal elmt) {
		this.elmt = elmt;
	}

	public String getWechat() {
		return wechat;
	}

	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	public String getEid() {
		return eid;
	}

	public void setEid(String eid) {
		this.eid = eid;
	}

	public String getEntry() {
		return entry;
	}

	public void setEntry(String entry) {
		this.entry = entry;
	}

	public Date getEttm() {
		return ettm;
	}

	public void setEttm(Date ettm) {
		this.ettm = ettm;
	}

	public Date getIvtm() {
		return ivtm;
	}

	public void setIvtm(Date ivtm) {
		this.ivtm = ivtm;
	}

	public BigDecimal getIsvisit() {
		return isvisit;
	}

	public void setIsvisit(BigDecimal isvisit) {
		this.isvisit = isvisit;
	}

	public BigDecimal getRstype() {
		return rstype;
	}

	public void setRstype(BigDecimal rstype) {
		this.rstype = rstype;
	}

	public String getLabl() {
		return labl;
	}

	public void setLabl(String labl) {
		this.labl = labl;
	}

	public String getPtap() {
		return ptap;
	}

	public void setPtap(String ptap) {
		this.ptap = ptap;
	}

	public Date getAptm() {
		return aptm;
	}

	public void setAptm(Date aptm) {
		this.aptm = aptm;
	}

	public BigDecimal getSex() {
		return sex;
	}

	public void setSex(BigDecimal sex) {
		this.sex = sex;
	}

	public Date getBirth() {
		return birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	public String getResidence() {
		return residence;
	}

	public void setResidence(String residence) {
		this.residence = residence;
	}

	public String getResident() {
		return resident;
	}

	public void setResident(String resident) {
		this.resident = resident;
	}

	public String getWkyear() {
		return wkyear;
	}

	public void setWkyear(String wkyear) {
		this.wkyear = wkyear;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddr() {
		return addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	public String getBfcompany() {
		return bfcompany;
	}

	public void setBfcompany(String bfcompany) {
		this.bfcompany = bfcompany;
	}

	public String getBfposition() {
		return bfposition;
	}

	public void setBfposition(String bfposition) {
		this.bfposition = bfposition;
	}

	public String getSalary() {
		return salary;
	}

	public void setSalary(String salary) {
		this.salary = salary;
	}

	public BigDecimal getInvite() {
		return invite;
	}

	public void setInvite(BigDecimal invite) {
		this.invite = invite;
	}

	public BigDecimal getIser() {
		return iser;
	}

	public void setIser(BigDecimal iser) {
		this.iser = iser;
	}

	public BigDecimal getPaym() {
		return paym;
	}

	public void setPaym(BigDecimal paym) {
		this.paym = paym;
	}

	public BigDecimal getErac() {
		return erac;
	}

	public void setErac(BigDecimal erac) {
		this.erac = erac;
	}

	public BigDecimal getSsac() {
		return ssac;
	}

	public void setSsac(BigDecimal ssac) {
		this.ssac = ssac;
	}

	public BigDecimal getIsstay() {
		return isstay;
	}

	public void setIsstay(BigDecimal isstay) {
		this.isstay = isstay;
	}

	public String getIntt() {
		return intt;
	}

	public void setIntt(String intt) {
		this.intt = intt;
	}

	public Date getNftm() {
		return nftm;
	}

	public void setNftm(Date nftm) {
		this.nftm = nftm;
	}

	public String getSelf() {
		return self;
	}

	public void setSelf(String self) {
		this.self = self;
	}

	public String getExperience() {
		return experience;
	}

	public void setExperience(String experience) {
		this.experience = experience;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	@Override
	public String toString() {
		return "Customer [id=" + id + ", sid=" + sid + ", did=" + did + ", cid=" + cid + ", eid=" + eid + ", name="
				+ name + ", phone=" + phone + ", qq=" + qq + ", wechat=" + wechat + ", ectn=" + ectn + ", period="
				+ period + ", ottn=" + ottn + ", elmt=" + elmt + ", intt=" + intt + ", entry=" + entry + ", ettm="
				+ ettm + ", ivtm=" + ivtm + ", isvisit=" + isvisit + ", rstype=" + rstype + ", labl=" + labl + ", ptap="
				+ ptap + ", aptm=" + aptm + ", sex=" + sex + ", birth=" + birth + ", residence=" + residence
				+ ", resident=" + resident + ", wkyear=" + wkyear + ", email=" + email + ", addr=" + addr
				+ ", bfcompany=" + bfcompany + ", bfposition=" + bfposition + ", salary=" + salary + ", invite="
				+ invite + ", iser=" + iser + ", paym=" + paym + ", erac=" + erac + ", ssac=" + ssac + ", isstay="
				+ isstay + ", nftm=" + nftm + "]";
	}

}
